package org.alex.nettychat.netty.custom.protocol;

import lombok.Data;

/**
 * 消息发送请求包
 *
 * @author : alex
 */
@Data
public class MessageRequestPacket extends Packet {

    /**
     * 单聊用户ID
     */
    private Integer toUserId;

    private String message;

    @Override
    public Byte getCommand() {
        return Command.MESSAGE_REQUEST;
    }
}
